﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SC2parser.Model
{
    public class User
    {
        private string username;

        /// <summary>
        /// The username of the user
        /// </summary>
        public string Username
        {
            get { return username; }
            set { username = value; }
        }

        private List<KeyValuePair<Match,Player>> matches;

        /// <summary>
        /// A keyvaluepar with the matches the user has voted on, along with the player ther user voted for.
        /// </summary>
        public List<KeyValuePair<Match, Player>> Matches
        {
            get { return matches; }
        }

        public User(string username)
        {
            this.username = username;
            matches = new List<KeyValuePair<Match, Player>>();
        }

        
    }
}
